export default [
  {
    path: '/',
    redirect: '/home',
    component: () => import('@/layout/index'),
    children: [
      {
        path: '/home',
        component: () => import('@/views/home'),
      },
      {
        path: '/userslist',
        component: () => import('@/views/userslist'),
        children: [],
      },
      {
        path: '/businesslist',
        component: () => import('@/views/businesslist'),
        children: [],
      },
      {
        path: '/foodslist',
        component: () => import('@/views/foodslist'),
        children: [],
      },
      {
        path: '/administratorlist',
        component: () => import('@/views/administratorlist'),
        children: [],
      },
      {
        path: '/order_formlist',
        component: () => import('@/views/order_formlist'),
        children: [],
      },
      {
        path: '/add_data',
        component: () => import('@/views/add_data'),
        children: [],
      },
      {
        path: '/achart',
        component: () => import('@/views/achart'),
        children: [],
      },
      {
        path: '/addfood',
        component: () => import('@/views/addfood'),
        children: [],
      },
    ],
  },
];

// export default {
//   path: '/',
//   name: 'home',
//   component: () => import('@/views/HomeView.vue'),
//   children: [
//   ]
// };
